﻿using Order.Common;
using Order.Common.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Order.CommandHandler
{
    public interface IOrderService
    {
        Task<ResponseResult<string>> CreateOrderByWebApiClient(CreateOrderDto input);

        Task<ResponseResult<string>> CreateOrderByGrpc(CreateOrderDto input);

        Task<ResponseResult<string>> CreateOrderByEvent(CreateOrderDto input);
    }
}
